Skip to content

refactor: form request#10204

Merged
michalsn merged 1 commit into
codeigniter4:4.8from
michalsn:refactor/form-request
May 18, 2026
Merged

refactor: form request#10204
michalsn merged 1 commit into
codeigniter4:4.8from
michalsn:refactor/form-request

Conversation

@michalsn
Copy link
Copy Markdown
Member

Description
The main reason for this PR is to align FormRequest with the existing Validation API by using getValidated() and getValidatedInput() methods. It also removes the Individual field access, which is still available through getValidatedInput()->get() and getValidatedInput()->has().

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn added refactor Pull requests that refactor code 4.8 PRs that target the `4.8` branch. labels May 16, 2026
@michalsn michalsn merged commit 0be3665 into codeigniter4:4.8 May 18, 2026
56 checks passed
@michalsn
Copy link
Copy Markdown
Member Author

Thank you @paulbalandan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.8 PRs that target the `4.8` branch. refactor Pull requests that refactor code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants